package com.kantboot.api.google.setting;

import com.kantboot.system.setting.service.ISysSettingService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class ApiGoogleSetting {

    @Resource
    private ISysSettingService settingsService;

    /**
     * 获取谷歌的项目ID
     */
    public String getGoogleProjectId() {
        return settingsService.getValue("googleProjectId");
    }

    /**
     * 获取谷歌的凭证json
     */
    public String getGoogleCredJson(){
        return settingsService.getValue("googleCredJson");
    }

}
